package com.testpro.learn.helloworld


/**
 * 变量的使用
 */
object valDemo1 {

  def main(args: Array[String]): Unit = {
    var scala: Double = 3.1415926
    var name: String = "HelloWorld"
    //println 占位符 加s
    println(s"name:$name scala:$scala")
    println(s"name:$name")
  }

}
